[PATCH] [3.11] gh-118643: Fix AttributeError in the email module (GH-119099) (#119393)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 23 May 2024 12:09:03 +0000 (15:09 +0300)
committerAndrej Shadura <andrewsh@debian.org>
Sun, 25 Jan 2026 13:37:52 +0000 (14:37 +0100)
commit074e4e7c2e5d85de6ac0816313ca21730da4e296
tree7741f83c3f6a9fad35734c6ed70a0768c7d57f91
parent51914149dcb6049fe215cbde4b9b95126fb4deb0
[PATCH] [3.11] gh-118643: Fix AttributeError in the email module (GH-119099) (#119393)

Fix regression introduced in gh-100884: AttributeError when re-fold a long
address list.

Also fix more cases of incorrect encoding of the address separator in the
address list missed in gh-100884.
(cherry picked from commit 858b9e85fcdd495947c9e892ce6e3734652c48f2)
(cherry picked from commit 4762b365406a8cf026a4a4ddcae34c28a41c3de9)

Gbp-Pq: Name CVE-2025-1795-2.patch
Lib/email/_header_value_parser.py
Lib/test/test_email/test__header_value_parser.py